﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WS.EKA.Business.Dal
{
    public class DBFactory
    {
        static readonly IDB boDB = new OracleDBHelper(Config.BOConnection);
        static readonly IDB arDB = new OracleDBHelper(Config.ARConnection);
        static DBFactory()
        { 
            
        }

        public static IDB CreateBODB()
        {
            return boDB;
        }


        public static IDB CreateARDB()
        {
            return arDB;
        }
    }
}
